﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using OpenTK;
namespace XenoStudio
{
    public partial class EditorVector3 : UserControl
    {
        public Vector3 VectorValue {
            get
            {
                return new Vector3(float.Parse(XValue.Text), float.Parse(YValue.Text), float.Parse(ZValue.Text));
            }
            set
            {
                XValue.Text = value.X.ToString();
                YValue.Text = value.Y.ToString();
                ZValue.Text = value.Z.ToString();
            }
        }
        public EditorVector3()
        {
            InitializeComponent();
        }
    }
}
